package com.atguigu.ware.wares.feign;

import com.atguigu.common.utils.R;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimall-order")
public interface WareToOrderFeignService {
    @RequestMapping("orders/omsorder/info/{id}")
    R info(@PathVariable("id") Long id);
}
